package com.wingbow.ticket.message;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Message {

    public static final byte reg = 0x01;
    public static final byte trans = 0x02;
    public static final byte error = 0x03;

    public static final String server = "Server";

    public static final Message errMsg = new Message(server, "", error);

    private String clientId;
    private String sign;

    private byte type;
}
